home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Generate
/
g-duplicate3
< prev
next >
Wrap
Text File
|
1998-08-11
|
474b
|
15 lines
g-duplicate3 seed count low high list
Use this function to generate any number-of-repeats of given range of a symbol-pattern.
(g-duplicate3 .545 '(2 2 1 2 1) 1 2
'((abef a b) (c d) (abcfg) (d e) (abdef)))
=> ((abef a b b abef a) (c d d c) (abcfg) (d d e d) (abdef))
(g-duplicate3 .545 '(2 2 3 2 3) 1 2
'((abef a b) (c d) (acfg) (d e) (abd adef)))
=> ((abef a b b abef a) (c d d c) (acfg acfg acfg)
(d d e d) (abd abd adef abd adef abd))